package priv.conceit.sc.hoxton.file.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 自动装配local
 *
 * @author Conceit
 * @since 1.0.0, 2020/9/28
 */
@Configuration
@ConditionalOnClass({FileProperties.class,FileSourceProperties.class})
@ConditionalOnProperty(prefix=FileSourceProperties.PREFIX,name = LocalProperties.PREFIX,matchIfMissing=true)
@EnableConfigurationProperties({LocalProperties.class})
public class LocalAutoConfig {

}
